

#ifndef __STM8L15x_IT_H
#define __STM8L15x_IT_H

#include "stm8l15x.h"

 void main(void); /* RESET startup routine */
 void _stext(void); /* RESET startup routine */ 
 @near @interrupt void NonHandledInterrupt(void);
 @far @interrupt void TRAP_IRQHandler(void); /* TRAP */
 @far @interrupt void FLASH_IRQHandler(void); /* FLASH EOP/PG_DIS */
 @far @interrupt void DMA1_CHANNEL0_1_IRQHandler(void); /* DMA1 Channel0/1*/
 @far @interrupt void DMA1_CHANNEL2_3_IRQHandler(void); /*DMA1 Channel2/3*/
 @far @interrupt void RTC_CSSLSE_IRQHandler(void); /* RTC /CSS_LSE */
 @far @interrupt void EXTIE_F_PVD_IRQHandler(void); /*EXTI PORTE/EXTI PORTF/PVD*/
 @far @interrupt void EXTIB_G_IRQHandler(void); /* EXTI PORTB / EXTI PORTG */
 @far @interrupt void EXTID_H_IRQHandler(void); /* EXTI PORTD / EXTI PORTH*/
 @far @interrupt void EXTI0_IRQHandler(void); /* EXTI PIN0 */
 @far @interrupt void EXTI1_IRQHandler(void); /* EXTI PIN1 */
 @far @interrupt void EXTI2_IRQHandler(void); /* EXTI PIN2 */
 @far @interrupt void EXTI3_IRQHandler(void); /* EXTI PIN3 */
 @far @interrupt void EXTI4_IRQHandler(void); /* EXTI PIN4 */
 @far @interrupt void EXTI5_IRQHandler(void); /* EXTI PIN5 */
 @far @interrupt void EXTI6_IRQHandler(void); /* EXTI PIN6 */
 @far @interrupt void EXTI7_IRQHandler(void); /* EXTI PIN7 */
 @far @interrupt void LCD_AES_IRQHandler(void); /* LCD /AES */
 @far @interrupt void SWITCH_CSS_BREAK_DAC_IRQHandler(void); /* Switch CLK/CSS/TIM1 Break/DAC */
 @far @interrupt void ADC1_COMP_IRQHandler(void); /*ADC1/COMP*/
 @far @interrupt void TIM2_UPD_OVF_TRG_BRK_USART2_TX_IRQHandler(void); /* TIM2 UPD/OVF/TRG/BRK / USART2 TX */
 @far @interrupt void TIM2_OVER_USART2_TX_IRQHandler(void); /* TIM2 UPD/OVF/TRG/BRK / USART2 TX */
 @far @interrupt void TIM2_CAP_USART2_RX_IRQHandler(void); /* TIM2 CAP / USART2 RX */
 @far @interrupt void TIM3_UPD_OVF_TRG_BRK_USART3_TX_IRQHandler(void); /* TIM3 UPD/OVF/TRG/BRK /USART3 TX*/
 @far @interrupt void TIM3_CAP_USART3_RX_IRQHandler(void); /* TIM3 CAP/ USART3 RX */
 @far @interrupt void TIM1_UPD_OVF_TRG_COM_IRQHandler(void);/* TIM1 UPD/OVF/TRG/COM */
 @far @interrupt void TIM1_CAP_IRQHandler(void);/* TIM1 CAP*/
 @far @interrupt void TIM4_UPD_OVF_TRG_IRQHandler(void); /* TIM4 UPD/OVF/TRI */
 @far @interrupt void TIM4_INT(void);
 @far @interrupt void SPI1_IRQHandler(void); /* SPI1 */
 @far @interrupt void USART1_TX_TIM5_UPD_OVF_TRG_BRK_IRQHandler(void); /* USART1 TX / TIM5 UPD/OVF/TRG/BRK */
 @far @interrupt void USART1_RX_TIM5_CAP_IRQHandler(void); /* USART1 RX / TIM5 CAP */
 @far @interrupt void I2C1_SPI2_IRQHandler(void); /* I2C1 / SPI2 */
 
#endif /* __STM8L15x_IT_H */

